package com.dcy.strategy.demo;

/**
 * @Author：dcy
 * @Description:
 * @Date: 2021/2/2 8:46
 */
public class WildDuck extends Duck {

    public WildDuck() {
        flyBehavior = new GoodFlyBehavior();
    }

    @Override
    public void display() {
        System.out.println("这是野鸭");
    }
}
